<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>教泽科技信息技术有限公司</title>
<link type="text/css" rel="stylesheet" href="css/main.css"/>
</head>

<body>
<div class="head">
    <a href="#" class="m-logo">
    	<img src="img/m-logo.png" alt="教泽信息"/>
    </a>
    <div class="nav">
        <img src="img/m-nav.png"/>
    </div>
    <div class="navList" style="display:block">
        <ul>
            <li>
                <a href="#">首页</a>
            </li>
            <li>
                <a href="#">产品</a>
            </li>
            <li>
                <a href="#">服务</a>
            </li>
            <li>
                <a href="#">解决方案</a>
            </li>
            <li>
                <a href="#">技术特点</a>
            </li>
            <li>
                <a href="#">成功案例</a>
            </li>
              <li>
                <a href="#">关于我们</a>
            </li>
        </ul>
    </div>
</div>
<div class="content">

</div>
</body>
</html>
<script>
window.onload=function(){
window.addEventListener(
    'resize',
	function(){
	  setViewport();	
    },
	false
	)
setViewport()
}
function setViewport(){
	var pix=1/window.devicePixelRatio;
	var html=document.getElementsByTagName('html')[0];
	var htmlW=html.getBoundingClientRect().width;
	html.style.fontSize=htmlW/16+'px';
	var meta=document.createElement('meta');
	meta.setAttribute('name','viewport');
	meta.setAttribute('content','width=device-width,user-scalable=no,initial-scale= '+pix+',minimum-scale='+pix+',maximum-scale='+pix+'');
	document.head.appendChild(meta);
  };
</script>